dotConnect for DB2 Documentation
Devart.Data.DB2 Namespace / DB2ErrorCollection Class / CopyTo Method / CopyTo(DB2Error[],Int32) Method
The array of DB2Error to copy elements into.
The index from which to start copying into the array parameter.

In This Topic
    CopyTo(DB2Error[],Int32) Method
    In This Topic
    Copies the elements of the DB2ErrorCollection collection into an array of DB2Error starting at the specified index within the array.
    Syntax
    'Declaration
     
    Public Overloads Sub CopyTo( _
       ByVal array() As DB2Error, _
       ByVal index As Integer _
    ) 
    public void CopyTo( 
       DB2Error[] array,
       int index
    )

    Parameters

    array
    The array of DB2Error to copy elements into.
    index
    The index from which to start copying into the array parameter.
    See Also